<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>修改货品分类信息</title>
<link href="<%=path%>/css/style_min.css" rel="stylesheet" type="text/css"/>
    <link href="<%=path%>/css/core.css" rel="stylesheet" type="text/css"/>
    <link href="<%=path%>/css/form.css" rel="stylesheet" type="text/css"/>
  </head>
  <body>
    <form name="productTypeForm" id="productTypeForm" action="<%=path%>/product/productType/update.t4m" class="form" method="post">
      <s:hidden name="productType.id"/>
      <div class="form-group">基本信息</div>
      <table class="form-table" cellspacing="0" cellpadding="0">
        <tr>
          <td class="form-left"><span class="form-required">*</span>类别名称</td>
          <td class="form-right"><s:textfield id="typeName" name="productType.name" cssClass="text required" theme="simple"/></td>
        </tr>
        <tr>
          <td class="form-left">上级类别</td>
          <td class="form-right"><s:select name="productType.superId" list="productTypeList" listKey="id" listValue="name" headerKey="%{@org.team4.constants.StringConstant@ROOT_ID}" headerValue="请选择" theme="simple"/></td>
        </tr>
        <tr>
          <td class="form-left">说明</td>
          <td class="form-right"><s:textarea cssStyle="width:200px; height:70px;" cssClass="textarea" id="typeRemark" name="productType.remark" theme="simple"/></td>
        </tr>
      </table>
      <s:hidden name="tabId"/>
      <s:hidden name="windowPanelId"/>
    </form>
    <script src="<%=path%>/js/prototype_for_validation.js" type="text/javascript"></script>
    <script src="<%=path%>/js/validation_cn.js" type="text/javascript"></script>
    <script src="<%=path%>/js/core.js" type="text/javascript"></script>
    <script src="<%=path%>/js/jquery.js" type="text/javascript"></script>
    <script src="<%=path%>/js/Validate.js" type="text/javascript"></script>
	<script type="text/javascript">
 		var valid = new Validation('productTypeForm',{immediate:true});
	</script>
  </body>
</html>